/*
 *  JDiv - API for Multimedia Application
 *  http://jdiv.sourceforge.net 
 *  ------------------------------------
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software 
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 *
 */

package com.jdiv.kernel;

import com.jdiv.internalList.JDivListActors;
import com.jdiv.internalList.JDivListDispose;
import com.jdiv.internalList.JDivListEffects;
import com.jdiv.internalList.JDivListFonts;
import com.jdiv.internalList.JDivListProcess;
import com.jdiv.internalList.JDivListScenes;
import com.jdiv.internalList.JDivListSkins;
import com.jdiv.internalList.JDivListSounds;
import com.jdiv.internalList.JDivListTextures;
import com.jdiv.internalList.JDivListWrites;

public class JDivResources 
{	
	// Lista de Procesos
	public static JDivListProcess listProcess = new JDivListProcess();
	
	// Lista de Escenarios
	public static JDivListScenes listScenes = new JDivListScenes();
	
	// Lista de Texturas e Imagenes
	public static JDivListTextures listTextures = new JDivListTextures();
		
	// Lista de Actores para interfaces de usuario GUI
	public static JDivListActors listActors = new JDivListActors();
    
	// Lista de Skins para interfaces de usuario GUI
	public static JDivListSkins listSkins = new JDivListSkins();
	
	// Lista de fuentes de texto
	public static JDivListFonts listFonts = new JDivListFonts();
	
	// Lista de textos en pantalla
	public static JDivListWrites listWrites = new JDivListWrites();
	
	// Lista de sonidos
	public static JDivListSounds listSounds = new JDivListSounds();
	
	// Lista de efectos
	public static JDivListEffects listEffects = new JDivListEffects();
	
	// Lista de objetos para cargar y descargar
	public static JDivListDispose listDisposable = new JDivListDispose();
	
	//-----------------------------------------------------------------------------
	// freeAll: Liberamos todos los recursos cargados por esta clase
	//-----------------------------------------------------------------------------
	 
	public static void freeAll()
	{
		listSounds.dispose();
		listWrites.dispose();
		listFonts.dispose();
		listSkins.dispose();
		listActors.dispose();
		listEffects.dispose();
		listTextures.dispose();
		listProcess.dispose();
		listScenes.dispose();
		
		listDisposable.dispose();
	}
		
}
